export interface categoryInfoModel {
  id: number,
  name: string
}

export type Numberable = undefined | number
//给数据中的类型约束在添加一个别名
export type categoryInfoListModel = categoryInfoModel[]
export interface categoryIdsModel {
  category1Id: Numberable
  category2Id: Numberable
  category3Id: Numberable
}
export interface categoryInfoStoreModel extends categoryIdsModel {

  // category1List:categoryInfoModel[]
  // category2List:categoryInfoModel[]
  // category3List:categoryInfoModel[]

  category1List: categoryInfoListModel
  category2List: categoryInfoListModel
  category3List: categoryInfoListModel
}